6,302 questions with Visual Studio-related tags

Sort by: Updated
0 answers

How to pars the text and extract some parts and assigning them to variables in visual studio .Net without interfering with the received data from serial port?

I have a received data from com port in this format: ************************* General Device Configuration ************************* Flash address...............0x40100180 Memory allocated............256 Size on…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
asked 2024-05-28T15:45:37.88+00:00
Goharshenasanesfahani, Sahar 0 Reputation points
2 answers

XSLT/XSL-FO transformation function stops working (Exception from HRESULT: 0x80131401)

Hello, My Visual Studio is again not working for XSLT/XSL-FO transformations. The error message that displays is: FileLoadException Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401). All…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
asked 2024-05-20T11:36:54.8066667+00:00
Tsvetelina Ilieva 0 Reputation points
edited an answer 2024-05-28T15:45:22.2066667+00:00
Flavio Sampaio 0 Reputation points
5 answers

Why are Backspace, Enter, Navigation keys not working while editing any file in Visual Studio?

I am using Visual Studio Extensions, while creating a new solution through extension for the first time, we are only able to type alphabets. Backspace, Enter, Navigation keys are not working while editing any file. But when we force close the solution,…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
179 questions
asked 2023-02-23T04:57:49.38+00:00
Apurva Kamshetty 25 Reputation points
answered 2024-05-28T15:13:11.97+00:00
Sean Houghton 0 Reputation points
0 answers

How to configure virtual directory correctly with right permission on Visual Studio to serve Blazor Standalone frontend

I'm currently managing a .NET 6 Blazor standalone application that utilizes WebAssemblyHostBuilder. For deployment, the application is configured to operate under a virtual directory, enabling it to be accessed via a subpath (e.g., test.fr/subpath1/).…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,425 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
asked 2024-05-28T14:57:11.3966667+00:00
Quentin RODIC 0 Reputation points
0 answers

Junk characters issue when trying to read Thai resources (.rc) in Windows App

I am working on the development of a windows app where when the .rc file used in this project is localized in thai junk characters appear on the app UI. We are using ANSI based rc files in this project. I understand that for my app to work I need to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
733 questions
asked 2024-05-28T14:41:40.8166667+00:00
Daman 0 Reputation points
0 answers

How to get Code Coverage in Visual Studio 2022 with CMake Cpp Projects with a Windows Compiler

I have a Cpp project that is being built with the MSVC compiler and using CMake. I need a code coverage solution, preferably one that either provides detailed reports or in Visual Studio code highlighting that is possible using CMake. So far I have tried…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,568 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
332 questions
asked 2024-05-28T09:01:11.2366667+00:00
Hoad, Tom 0 Reputation points
commented 2024-05-28T13:37:45.93+00:00
Tianyu Sun-MSFT 27,976 Reputation points Microsoft Vendor
0 answers

Visual Studio 2022 : error 1296 Hardware 'Test_(01)' does not have an associated service using install section 'A9_GBD'

I upgraded my Visual Studio from 2017 to 2022, and also the SDK and WDK do the brand release. In the past with older releases I have no issue with V3 printer INF File. Now I always get an error with code 1296 Hardware 'Test_(01)' does not have an…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
19 questions
asked 2024-05-28T13:07:19.2933333+00:00
Hubert Brill 0 Reputation points
0 answers

Object cannot be cast from DBNull to other types.

Good day, I want to check my DB connection and here's my code. private void Button2_Click(object sender, EventArgs e) { string mysqlcon =…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
asked 2024-05-28T11:44:27.7833333+00:00
BgnerNprg207 226 Reputation points
edited a comment 2024-05-28T12:06:36.4366667+00:00
Viorel 113.2K Reputation points
1 answer

How to prevent VS from breaking on handled exceptions?

I don't think VS did this until recently. It started breaking at handled exceptions. How do I prevent it?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
asked 2024-05-21T15:58:26.9933333+00:00
Aaron Gerber 0 Reputation points
commented 2024-05-28T09:47:06.07+00:00
RLWA32 41,206 Reputation points
0 answers

Trouble Generating Dependency Graph for Remote CMake Project in Visual Studio 2017

Problem: I am trying to generate a dependency graph for a CMake project that is built and runs on a remote Linux server using Visual Studio 2017. Despite successfully building the project remotely, when I attempt to generate a dependency graph (.dgml…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
asked 2024-05-24T06:16:32.42+00:00
原 江 0 Reputation points
commented 2024-05-28T08:51:52.7133333+00:00
Tianyu Sun-MSFT 27,976 Reputation points Microsoft Vendor
0 answers

Change the default project name of a Visual Studio Project

I want to change the default project name for all projects in Visual Studio. Whenever I create a new project in Visual Studio, I want it to show the name that I have defined. For example, it should display names like 'NewWindowsApp1', 'NewWindowsApp2',…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
asked 2024-05-23T12:17:25.1633333+00:00
test code 1 Reputation point
commented 2024-05-28T04:43:41.8433333+00:00
Anna Xiu-MSFT 26,651 Reputation points Microsoft Vendor
1 answer

How to fix MSB4242, SDK Resolver Failure, saying it cannot access a file being used by another process

I resolved it already, but adding this here because there was no documentation about MSB4242 and I couldn't find any sites mentioning it along with the same exception message. Not sure why it started. My solution was building just fine before. I don't…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,467 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
asked 2024-05-27T19:30:17.46+00:00
shwartz 0 Reputation points Microsoft Employee
edited the question 2024-05-28T04:35:34.0866667+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
0 answers

How can an editor VSIX extend the C# method 'References' UI?

In the VS extensibility model, is there a way for me to add additional links/text to the 'References' text that is shown on top of each C# methods?

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
179 questions
asked 2024-05-22T22:23:04.6233333+00:00
Chris Fortier 0 Reputation points
commented 2024-05-28T03:42:12.0766667+00:00
Anna Xiu-MSFT 26,651 Reputation points Microsoft Vendor
2 answers

objフォルダに生成されるはずのAxInterop.CoReportsViewU.dllが生成されない。

Windows10(64bit)、VS2017 Professional、Coreports Ver11で動作していたPGMを、Windows11(64bit)、VS2022 Professional、Coreports…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
asked 2024-05-24T09:38:05.2266667+00:00
Enomoto Hikaru/榎本 輝/JFE-SI 0 Reputation points
answered 2024-05-28T03:23:28.79+00:00
gekka 7,166 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Visual Studio 2022- Couldn't install Microsoft.VisualCpp.Redist.14

I'm trying to install Desktop development with C++ for Visual Studio 2022. Attempting to install this using the Visual Studio Installer returns an error stating: Couldn't install Microsoft.VisualCpp.Redist.14 The log file mentions another log file that…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,568 questions
asked 2024-05-26T23:35:26.9733333+00:00
OldIslander 0 Reputation points
commented 2024-05-27T20:31:50.2966667+00:00
OldIslander 0 Reputation points
1 answer

XamlC error XFC0062: Undeclared xmlns prefix

Hi, I am doing a first test in .NET Maui but can't get this resolved. I keep getting the same compile error on : Error XFC0062 Undeclared xmlns prefix "mym". MyMauiApp C:\Users\thoma\source\repos\MyMauiApp\MainPage.xaml 17 Output window : …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,989 questions
asked 2024-05-27T15:14:18.1133333+00:00
ThomasB-3258 0 Reputation points
answered 2024-05-27T17:20:30.5633333+00:00
ThomasB-3258 0 Reputation points
2 answers One of the answers was accepted by the question author.

.net8 windows form design view problem.

I am developing Revit addin in Vidual Studio in c++/cli as class library. Before moving to .net platform everyhing was working fine. But in .net Windows form design views doesnt work. Though when I add form element by code. It compiles and works. The…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,568 questions
asked 2024-05-04T19:10:34.6166667+00:00
Ahmet Haluk UZUNER 20 Reputation points
answered 2024-05-27T16:10:38.4833333+00:00
Ahmet Haluk UZUNER 20 Reputation points
0 answers

如何打開無法開啟的封包檔案

因離線安裝檔中有封包無法開啟進行各別掃描,這邊想請問如何將無法開啟的封包打開以便進行掃描

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
978 questions
asked 2024-05-27T08:46:13.7+00:00
華 沛 0 Reputation points
commented 2024-05-27T13:46:06.9033333+00:00
Tianyu Sun-MSFT 27,976 Reputation points Microsoft Vendor
0 answers

Unable to add Azure Service Authentication account from visual studio 2022

When i try to add new azure service authentication account from visual studio, i get below errors. Object doesn't support property or method 'addEventListener' …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
asked 2024-05-24T17:49:42.79+00:00
Babish Adapa 1 Reputation point
commented 2024-05-27T12:29:21.2333333+00:00
Tianyu Sun-MSFT 27,976 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to get rid of this annoying thing?

How to get rid of this annoying thing (red circled)?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,710 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
952 questions
asked 2024-05-27T10:00:05.6233333+00:00
zzzhhh 20 Reputation points
accepted 2024-05-27T11:59:48.7166667+00:00
zzzhhh 20 Reputation points